package org.shop.service.Impl;

import org.shop.dao.Impl.ProductDaoImpl;
import org.shop.dao.ProductDao;
import org.shop.entity.Product;
import org.shop.service.ProductService;

import java.util.List;

/**
 * @author ZJL
 * @date 2024-12-11
 */
public class ProductServiceImpl implements ProductService {
    ProductDao productDao = new ProductDaoImpl();
    @Override
    public List<Product> getProductAll() {
        return productDao.selectAll();
    }
}
